#!/usr/bin/env bash

# Script to run {.beat_name} in foreground with the same path settings that
# the init script / systemd unit file would do.

exec /usr/share/{{.beat_name}}/bin/{{.beat_name}} \
  -path.home /usr/share/{{.beat_name}} \
  -path.config /etc/{{.beat_name}} \
  -path.data /var/lib/{{.beat_name}} \
  -path.logs /var/log/{{.beat_name}} \
  "$@"
